package com.logistics.modules.transportationManagement.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.logistics.modules.financialManagement.entity.FreightDetailsEntity;
import com.logistics.modules.warehouseManagement.entity.SeatEntity;
import lombok.Data;

/**
 * 
 * 
 * @author HURRICANE
 * @email HURRICANE@nb.com
 * @date 2022-05-14 10:48:35
 */
@Data
@TableName("moveplandetails")
@JsonIgnoreProperties(value = {"handler"})
public class MoveplandetailsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id 自增
	 */
	@TableId
	private Integer id;
	/**
	 * 运输计划id
	 */
	private Integer moveplanId;
	/**
	 * 货物的id
	 */
	private Integer cargoId;
	/**
	 * 席位id
	 */
	private Integer seatId;

	/**
	 * 运费详情
	 */
	private Integer freightDetailsId;

	/**
	 * 货物
	 */
	@TableField(exist = false)
	private CargoEntity cargo;

	/**
	 * 运费详情
	 */
	@TableField(exist = false)
	private FreightDetailsEntity freightDetails;

	/**
	 * 座位
	 */
	@TableField(exist = false)
	private SeatEntity seat;

}
